package cn.zzn.batch.service.impl;

import org.apache.tapestry5.ioc.annotations.Inject;

import cn.zzn.batch.service.Hello;
import cn.zzn.batch.service.Output;

public class HelloService implements Hello {
	
	@Inject
	private Output _output;
	
//	public HelloService(Output output) {
//		this._output = output;
//	}
	
	public void sayHello() {
		this._output.say("Hello world, Tapestry IOC");
	}
}
